package it.application.smoc;

import android.os.Bundle;
import android.os.Handler;
import android.app.Activity;
import android.content.Intent;

public class SplashScreen extends Activity {
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle icicle) {
    	overridePendingTransition(R.anim.fade_in,0);
        super.onCreate(icicle);
        setContentView(R.layout.splashscreen);
        Handler x = new Handler();
        x.postDelayed(new SplashHandler(), 2000);
    }
    class SplashHandler implements Runnable 
    {
        @Override
        public void run() {
            // TODO Auto-generated method stub
            startActivity(new Intent(getApplication(),NationsBuyer.class));
            SplashScreen.this.finish();
        }
 
    }
}
